import 'package:aio/aio.dart';

///退货补片提交数据
class SubPayFreeGoodReturn extends BaseBean{

  //报废数量
  String? WasteNum  =  "";

  //拆片数量
  String? CPNum  =  "";

  //退库数量
  String? BackNum  =  "";

  //操作班组
  String? Group  =  "";

  //可拆片数量
  List<String?>? CPList= null;

  @override
  fromJson(Map<String, dynamic> json) {
    // TODO: implement fromJson
    WasteNum=json['WasteNum']?.toString();
    CPNum=json['CPNum']?.toString();
    BackNum=json['BackNum']?.toString();
    Group=json['Group']?.toString();
    CPList=setGenericFromJson(json, 'CPList', <String>[], '');
  }

  @override
  instance() {
    // TODO: implement instance
    return SubPayFreeGoodReturn();
  }

  @override
  Map<String, dynamic> toJson() {
    var map = <String, dynamic>{};
    map["WasteNum"] = WasteNum;
    map["CPNum"] = CPNum;
    map["BackNum"] = BackNum;
    map["Group"] = Group;
    map["CPList"] = CPList;
    return map;
  }
}